package com.security.door.dao.mapper;

import com.security.door.core.tk.mapper.MyBaseMapper;
import com.security.door.model.domain.crPersioninfo;
import com.security.door.model.dto.crPersioninfoDto;
import com.security.door.model.vo.crPersionAreaVo;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface crPersioninfoMapper extends MyBaseMapper<crPersioninfo> {
    List<crPersioninfo> queryListWithPage(crPersioninfoDto entity);

    Integer hasExists(String persionCode);

    crPersionAreaVo selectByAreaCode(String persionCode);

    List<crPersioninfo> selectByAttenGroup(String attenGroup);

    Integer clearAttenGroup(String attenGroup);

    Integer updateAttenGroup(String attenGroup,String persionCodes);
}